package com.yami.shop.im.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 * @author FrozenWatermelon
 * @date 2020/8/19
 */
@Getter
@Setter
public class MsgItem {

    private Long itemId;

    private String userId;

    private String userName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    private String userHeadUrl;

    private Long shopId;

    private String shopName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    private String shopLogo;

    private Long timestamp;

    private String timeStr;

    private Integer type;

    private String content;

    private Integer source;
    /**
     * 群发消息标识
     */
    private String massMsgCode;
    /**
     * 转发消息标识，1.为转发消息
     */
    private Integer forwardCode = 0;

}
